package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_AplusSq", catalog="Id")
public class TpAplusSq extends BaseEntity<TpAplusSq> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="varchar")
	private String createChangeId;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="tinyint")
	private Integer effectStock;
	@YsField(nameDataBase="VgsMc", nameJava="vgsMc", typeDataBase="varchar")
	private String vgsMc;
	@YsField(nameDataBase="VgsJc", nameJava="vgsJc", typeDataBase="varchar")
	private String vgsJc;
	@YsField(nameDataBase="VgsBm", nameJava="vgsBm", typeDataBase="varchar")
	private String vgsBm;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="CodeMerge", nameJava="codeMerge", typeDataBase="varchar")
	private String codeMerge;
	@YsField(nameDataBase="Platform", nameJava="platform", typeDataBase="varchar")
	private String platform;
	@YsField(nameDataBase="RegionName", nameJava="regionName", typeDataBase="varchar")
	private String regionName;
	@YsField(nameDataBase="CountryName", nameJava="countryName", typeDataBase="varchar")
	private String countryName;
	@YsField(nameDataBase="BoutiqueId", nameJava="boutiqueId", typeDataBase="bigint")
	private Long boutiqueId;
	@YsField(nameDataBase="FilePath", nameJava="filePath", typeDataBase="text")
	private String filePath;
	@YsField(nameDataBase="ServiceFee", nameJava="serviceFee", typeDataBase="decimal")
	private BigDecimal serviceFee;
	@YsField(nameDataBase="ApplyRequire", nameJava="applyRequire", typeDataBase="varchar")
	private String applyRequire;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAplusSq setId(Long id) {
		this.id = id;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TpAplusSq setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public String getCreateChangeId() {
		return createChangeId;
	}
	public TpAplusSq setCreateChangeId(String createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TpAplusSq setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public String getVgsMc() {
		return vgsMc;
	}
	public TpAplusSq setVgsMc(String vgsMc) {
		this.vgsMc = vgsMc;
		return this;
	}
	public String getVgsJc() {
		return vgsJc;
	}
	public TpAplusSq setVgsJc(String vgsJc) {
		this.vgsJc = vgsJc;
		return this;
	}
	public String getVgsBm() {
		return vgsBm;
	}
	public TpAplusSq setVgsBm(String vgsBm) {
		this.vgsBm = vgsBm;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TpAplusSq setCode(String code) {
		this.code = code;
		return this;
	}
	public String getName() {
		return name;
	}
	public TpAplusSq setName(String name) {
		this.name = name;
		return this;
	}
	public String getCodeMerge() {
		return codeMerge;
	}
	public TpAplusSq setCodeMerge(String codeMerge) {
		this.codeMerge = codeMerge;
		return this;
	}
	public String getPlatform() {
		return platform;
	}
	public TpAplusSq setPlatform(String platform) {
		this.platform = platform;
		return this;
	}
	public String getRegionName() {
		return regionName;
	}
	public TpAplusSq setRegionName(String regionName) {
		this.regionName = regionName;
		return this;
	}
	public String getCountryName() {
		return countryName;
	}
	public TpAplusSq setCountryName(String countryName) {
		this.countryName = countryName;
		return this;
	}
	public Long getBoutiqueId() {
		return boutiqueId;
	}
	public TpAplusSq setBoutiqueId(Long boutiqueId) {
		this.boutiqueId = boutiqueId;
		return this;
	}
	public String getFilePath() {
		return filePath;
	}
	public TpAplusSq setFilePath(String filePath) {
		this.filePath = filePath;
		return this;
	}
	public BigDecimal getServiceFee() {
		return serviceFee;
	}
	public TpAplusSq setServiceFee(BigDecimal serviceFee) {
		this.serviceFee = serviceFee;
		return this;
	}
	public String getApplyRequire() {
		return applyRequire;
	}
	public TpAplusSq setApplyRequire(String applyRequire) {
		this.applyRequire = applyRequire;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TpAplusSq setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAplusSq setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAplusSq setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAplusSq setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAplusSq tpAplusSq(
		String bid,
		String createChangeId,
		Integer effectStock,
		String vgsMc,
		String vgsJc,
		String vgsBm,
		String code,
		String name,
		String codeMerge,
		String platform,
		String regionName,
		String countryName,
		Long boutiqueId,
		String filePath,
		BigDecimal serviceFee,
		String applyRequire,
		String remark,
		Integer status
			) {
		TpAplusSq entity = new TpAplusSq();
		entity.setBid(bid);
		entity.setCreateChangeId(createChangeId);
		entity.setEffectStock(effectStock);
		entity.setVgsMc(vgsMc);
		entity.setVgsJc(vgsJc);
		entity.setVgsBm(vgsBm);
		entity.setCode(code);
		entity.setName(name);
		entity.setCodeMerge(codeMerge);
		entity.setPlatform(platform);
		entity.setRegionName(regionName);
		entity.setCountryName(countryName);
		entity.setBoutiqueId(boutiqueId);
		entity.setFilePath(filePath);
		entity.setServiceFee(serviceFee);
		entity.setApplyRequire(applyRequire);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}